<template>
	<view>
		<view class="mainpadding flexbetween" @click="jumpurl('/pages/system/system?type=3')">
			<view class="main_size hei_text">关于我们</view>
			<u-icon name="arrow-right" color="#999" size="16"></u-icon>
		</view>
		<view class="mainpadding flexbetween" @click="jumpurl('/pages/system/system?type=2')">
			<view class="main_size hei_text">隐私政策</view>
			<u-icon name="arrow-right" color="#999" size="16"></u-icon>
		</view>
		<view class="mainpadding flexbetween" @click="jumpurl('/pages/system/system?type=1')">
			<view class="main_size hei_text">用户协议</view>
			<u-icon name="arrow-right" color="#999" size="16"></u-icon>
		</view>
		<view class="mainpadding flexbetween" @click="jumpurl('/pages/wode/xiugaimm')">
			<view class="main_size hei_text">修改密码</view>
			<u-icon name="arrow-right" color="#999" size="16"></u-icon>
		</view>
		<view class="posibottom mainpadding">
			<view class="submitbtn" @click="outlogin">退出登录</view>
		</view>
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {
				
			}
		},
		onShareAppMessage: function(options) {
			return {
				title: '制片宝',
				imageUrl: '',
				path: '/pages/index/index'
			}
		},
		onShareTimeline: function() {
			return {
				title: '制片宝',
				imageUrl: '',
				path: '/pages/index/index'
			}
		},
		methods: {
			outlogin() {
				httpRequest.modal('提示', '请再次确认', true, (res) => {
					if (res) {
						uni.clearStorage();
						httpRequest.toast("退出登录成功")
						setTimeout(() => {
							uni.navigateBack(1)
						}, 1000)
					}
				})
			
			},
			jumpurl(url) {
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style>

</style>